package es.ubu.ceudaaj.exercise.ud02.t04.l03;

import java.io.IOException;
import java.util.List;

import es.ubu.ceudaaj.exercise.ud02.t04.l03.model.Contactos;

public interface Agenda {
	// public void listContacts();
	public void loadXML();

	public void saveXML();

	public void createNewContact(Contactos nuevoContacto);

	// public void printContactDetail(int index);
	public Contactos seeContact(int index);

	public void editContact(Contactos nuevoContacto, int index);

	public void deleteContact(int index);

	public List<String> searchByName(String name);

	public List<String> searchByJob(String job);

	public List<String> searchByPostalCode(String postalCode);
}
